﻿using ERPSystem.Common.Domains.SalesOrderCommom;
using ERPSystem.Common.DTO;
using MediatR;
using SqlSugar;

namespace SalesManagementWrite.API.SalesManagementWrites.SalesOrders
{
    public class SalesOrderCreateCommand : IRequest<Result>
    {
        /// <summary>
        /// 单据编码
        /// </summary>
        public string DocumentNumber { get; set; }
        /// <summary>
        /// 单据日期
        /// </summary>
        public string DocumentDate { get; set; }
        /// <summary>
        /// 单据状态
        /// </summary>
        public string DocumentStatus { get; set; }
        /// <summary>
        /// 单据类型
        /// </summary>
        public string DocumentType { get; set; }
        /// <summary>
        /// 业务类型
        /// </summary>
        public string BusinessType { get; set; }
        /// <summary>
        /// 业务状态
        /// </summary>
        public string BusinessStatus { get; set; }
        /// <summary>
        /// 部门表名称
        /// </summary>

        public int SalesDepartmentName { get; set; }
        /// <summary>
        /// 销售人员
        /// </summary>
        public string SalesStaff { get; set; }
        /// <summary>
        /// 操作表（操作员）
        /// </summary>
        public string OperatorName { get; set; }
        /// <summary>
        /// 销售类型
        /// </summary>
        public string SalesType { get; set; }
        /// <summary>
        /// 供货方式
        /// </summary>
        public string ModeDelivery { get; set; }
        /// <summary>
        /// 客户名称（外键）
        /// </summary>
        public string CustomerProfileName { get; set; }
        /// <summary>
        /// 合同号（上传）
        /// </summary>
        public string ContractNumber { get; set; }
        /// <summary>
        /// 付款条件
        /// </summary>
        public string PaymentTerms { get; set; }
        /// <summary>
        /// 交付日期
        /// </summary>
        public string DeliverDate { get; set; }
        /// <summary>
        /// 交付状态
        /// </summary>
        public int DeliveryStatus { get; set; }
        /// <summary>
        /// 收货人
        /// </summary>
        public string Consignee { get; set; }
        /// <summary>
        /// 电话
        /// </summary>
        public string Phone { get; set; }
        /// <summary>
        /// 地址
        /// </summary>
        public string Address { get; set; }
        /// <summary>
        /// 目的国家
        /// </summary>
        public string DestinationCountry { get; set; }
        /// <summary>
        /// 备注信息
        /// </summary>
        public string NoteInformation { get; set; }

        /// <summary>
        /// 销售订单物料编码（外键）
        /// </summary>
        public string ItemBianma { get; set; }

    }
}
